package com.click.app.dao;

import com.click.app.model.Option;

/**
 * Option Data Access Object (DAO) interface.
 *
 * @author click
 */
public interface OptionDao extends GenericDao<Option, Long> {
    /**
     * Gets option information based on optionname
     * @param optionname the rolename
     * @return populated option object
     */
    Option getOptionByName(String optionName);

    /**
     * Removes a role from the database by name
     * @param optioname the option's optionname
     */
    void removeOption(String optionName);

}
